package com.keta.foundation.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.keta.foundation.entity.FileResource;
import com.keta.foundation.util.dwz.Page;

public interface FileResourceService {

	FileResource get(Long id);
	
	long getFileResourceCount();

	void saveOrUpdate(FileResource fileResource);

	List<FileResource> getAll();

	List<FileResource> getAll(Page page);

	List<FileResource> getAll(Specification<FileResource> specification, Page page);

	void delete(Long id);
	
	void delete(FileResource fileResource);
	
	FileResource getByUuid(String uuid);
	
}
